package com.ruoyi.home.jinrong.service;

import com.ruoyi.home.jinrong.entity.request.CwDealPerDaySearchPage;
import com.ruoyi.home.jinrong.entity.response.CwDealPerDayDetailPayDto;
import com.ruoyi.home.jinrong.entity.response.CwDealPerDayDto;
import com.ruoyi.home.jinrong.entity.response.CwDealPerDayTotalDto;

import java.util.List;

/**
 * @author 郭豪
 * @date 2021/8/1 16:53
 * @description:
 */
public interface CwDealPerDayService {

    /**
     * 营业报表用：分页查询    备注:(操作类型,1：收入，2：支出)
     * @param cwDealPerDaySearchPage
     */
    public List<CwDealPerDayDto> searchCwDealPerDayPage(CwDealPerDaySearchPage cwDealPerDaySearchPage);

    /**
     * 查询总条目数
     * @param cwDealPerDaySearchPage
     * @return
     */
    public Integer getDataNum(CwDealPerDaySearchPage cwDealPerDaySearchPage);

    /**
     * 营业报表用：收入/支出 金额总计查询  备注:(操作类型,1：收入，2：支出)
     * @param cwDealPerDaySearchPage
     * @return
     */
    public CwDealPerDayTotalDto searchCwDealPerDaySum(CwDealPerDaySearchPage cwDealPerDaySearchPage);

    /**
     * 营业报表用：支出    付款明细分页查询
     * @param
     */
    public List<CwDealPerDayDetailPayDto> searchCwDealPerDayDetailPayPage(CwDealPerDaySearchPage cwDealPerDayDetailPayPage);


}
